package com.billing.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.billing.model.entity.TClocktime;

public interface ClocktimeBeanMapper {

	
	/**
	 * 批量新增打卡信息
	 * @param clolist
	 * @return
	 */
	public int insertTClocktimeList(@Param("clolist")List<TClocktime> clolist);
	/**
	 * 根据请假时间和排班id获取打卡时间
	 * @param starttime
	 * @param endtime
	 * @param schedulingid
	 * @return
	 */
	public List<TClocktime> getTClocktimeByTime(@Param("starttime")Long starttime,@Param("endtime")Long endtime,
			@Param("schedulingid")int schedulingid);
	/**
	 * 根据排班ID和年份删除打卡明细
	 * @param id
	 * @return
	 */
	public int deleteTClocktime(@Param("id")int id,@Param("year")int year);
	/**
	 * 批量删除打卡明细信息
	 * @param list
	 * @return
	 */
	public int deleteTClocktimeList(@Param("clolist")List<Integer> clolist);
}
